//#include <stdlib.h>
//#include <cutil_inline.h>

__device__ inline float gbm(float S0, float mu, float sigma, float time, float dw){
	return S0 * expf((mu - 0.5f * sigma*sigma) * time + sigma * sqrtf(time) * dw);
}